@import './winsize.scss';

@each $w in $winsizes {
  #container.#{$w} {
    dt {
      font-size: calc(map-get($winsizes-font-size, $w) + 4px);
    }

    dd {
      font-size: map-get($winsizes-font-size, $w);
    }

    h3 {
      font-size: calc(map-get($winsizes-font-size, $w) + 2px);
    }

    .setting-check {
      margin-top: map-get($winsizes-font-size, $w);

      .el-checkbox__label {
        font-size: map-get($winsizes-font-size, $w);
      }
    }

    .setting-radio {
      .el-radio__label {
        font-size: map-get($winsizes-font-size, $w);
      }
    }
  }
}

.btn-wave {
  position: relative;
  border-radius: 4px;
  box-shadow:
    0px 3px 1px -2px rgba(0, 0, 0, 0.2),
    0px 2px 2px 0px rgba(0, 0, 0, 0.15),
    0px 1px 5px 0px rgba(0, 0, 0, 0.12);
  outline: 0;
  border: 0;
  cursor: pointer;
  overflow: hidden;
  transition: background-color .25s;

  &::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, rgb(248, 192, 192) 10%, transparent 10.1%);
    transform: scale(10);
    opacity: 0;
    transition: all .6s;
  }

  &:active::after {
    transform: scale(0);
    opacity: .5;
    transition: 0s;
  }
}